package com.luyuan.crm.question.model;

import java.io.Serializable;
import java.util.Set;

import com.ruijie.foundation.bo.EntityObject;

public class QuestionExtend extends EntityObject<Serializable> {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /**
     * 扩展项的名称,用于前端get用
     */
    private String name;

    /**
     * 扩展项
     */
    private String item;

    /**
     * 扩展项类型
     */
    private QuestionField itemType;

    /**
     * 扩展项默认值
     */
    private String defaultValue;

    /**
     * 扩展项的子项
     */
    private Set<QuestionExtendField> questionExtendFields;

    /**
     * 对应的调查表
     */
    private Question question;

    private int sort;

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public QuestionField getItemType() {
        return itemType;
    }

    public void setItemType(QuestionField itemType) {
        this.itemType = itemType;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Set<QuestionExtendField> getQuestionExtendFields() {
        return questionExtendFields;
    }

    public void setQuestionExtendFields(Set<QuestionExtendField> questionExtendFields) {
        this.questionExtendFields = questionExtendFields;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }
}
